package com.ycy.smartcourseselection.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@TableName(value = "student")
public class Student {
    @ApiModelProperty("学生的唯一标识")
    // @TableId(type = IdType.AUTO)
    private String id;

    @ApiModelProperty("学生学号、登陆账号")
    private String studentId;

    @ApiModelProperty("学生登陆密码")
    private String password;

    @ApiModelProperty("学生身份证号")
    private String identityId;

    @ApiModelProperty("电话号码")
    private String phone;

    @TableField(value = "QQ")
    @ApiModelProperty("QQ号码")
    private String QQ;

    @ApiModelProperty("学生姓名")
    private String name;

    @ApiModelProperty("学生性别(1表示男，0表示女)")
    private Integer sex;

    @ApiModelProperty("班级")
    private String stuClass;

    @ApiModelProperty("专业")
    private String major;

    @ApiModelProperty("学院")
    private String college;

    @ApiModelProperty("学生是否被删除")
    private Integer isDelete;

    @ApiModelProperty("年级")
    private String grade;

    @ApiModelProperty("头像下载地址")
    private String avatarUrl;

    @JsonIgnore
    @ApiModelProperty("创建时间")
    private String createTime;
}
